package queue;

import queue.mine.QueueToStack;

import java.util.Queue;

/**
 * @BelongsProject: leetcode
 * @BelongsPackage: queue
 * @Author: Administrator
 * @CreateTime: 2018-12-09 12:12
 * @Description: ${Description}
 */
public class Test {
    public static void main(String[] args) {
        QueueToStack queue=new QueueToStack();
        queue.push(1);
        queue.push(2);
        System.out.println(queue.top());
        System.out.println(queue.pop());
        System.out.println(queue.top());
        queue.empty();
    }

}
